#include "Student.h"

int Student::totalStudents = 0;

Student::Student() { ++totalStudents; }
Student::~Student() { --totalStudents; 
  cout << "Usuwam " << getId() << ", " << getName() << endl;
  cout << "number of students: " << Student::getTotalStudents() << endl;
}
int Student::getId() { return id; }
void Student::setId(int i) { id = i; }
int Student::getTotalStudents() { return totalStudents; }